/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-1-9 上午10:26 Created by dwzhang
 */
package com.jade.framework.base.vfile;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件信息对象．
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-1-9 上午10:26
 */
public class VFileInfo
        implements Serializable
{
    //文件存储类型，例如fs(普通文件系统方式） fdfs（FastDFS)等
    private String type;
    //数据类型，包括image, data等等，由业务根据需要定义
    private String dataType;
    //文件的content type
    private String contentType;
    //文件名
    private String fileName;
    //文件标识
    private String fileId;
    //文件大小
    private long size;
    //最近更新时间
    private long lastModified;

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getDataType()
    {
        return dataType;
    }

    public void setDataType(String dataType)
    {
        this.dataType = dataType;
    }

    public String getContentType()
    {
        return contentType;
    }

    public void setContentType(String contentType)
    {
        this.contentType = contentType;
    }

    public String getFileName()
    {
        return fileName;
    }

    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileId()
    {
        return fileId;
    }

    public void setFileId(String fileId)
    {
        this.fileId = fileId;
    }

    public long getSize()
    {
        return size;
    }

    public void setSize(long size)
    {
        this.size = size;
    }

    public long getLastModified()
    {
        return lastModified;
    }

    public void setLastModified(long lastModified)
    {
        this.lastModified = lastModified;
    }
}
